.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001; /* 确保登录窗口在最上层 */
}

.login-content {
  position: relative; /* 使关闭按钮相对于登录内容定位 */
  background-color: #1f1f21;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #fff; /* 设置关闭按钮颜色为白色 */
}

.login-input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  background-color: #1c1c1e;
  color: #fff;
}

.button-group {
  display: flex;
  justify-content: space-between;
}

.submit-button,
.register-button {
  background-color: #ff2d55; /* 统一按钮颜色 */
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin: 10px;
  flex: 1; /* 使按钮占据相同的空间 */
  max-width: 45%; /* 控制按钮最大宽度 */
}

.register-button {
  background-color: #ff2d55; /* 统一按钮颜色 */
}
